From 6841190c2485d43b97a0048a690bba3676c680d5 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 21 Nov 2007 09:45:22 +0000 Subject: [PATCH] Remove unused smpboot.h header file. Signed-off-by: Keir Fraser --- xen/arch/x86/irq.c | 1 - xen/arch/x86/physdev.c | 1 - xen/arch/x86/smp.c | 1 - xen/include/asm-powerpc/smpboot.h | 21 --------------------- xen/include/asm-x86/smpboot.h | 16 ---------------- 5 files changed, 40 deletions(-) delete mode 100644 xen/include/asm-powerpc/smpboot.h delete mode 100644 xen/include/asm-x86/smpboot.h diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index b7136157d0..77983a6f0a 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -15,7 +15,6 @@ #include #include #include -#include #include /* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */ diff --git a/xen/arch/x86/physdev.c b/xen/arch/x86/physdev.c index 78ff6b0ca8..e42379d4ac 100644 --- a/xen/arch/x86/physdev.c +++ b/xen/arch/x86/physdev.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/xen/arch/x86/smp.c b/xen/arch/x86/smp.c index c8886e947a..11e150e75a 100644 --- a/xen/arch/x86/smp.c +++ b/xen/arch/x86/smp.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/xen/include/asm-powerpc/smpboot.h b/xen/include/asm-powerpc/smpboot.h deleted file mode 100644 index b158d5b74f..0000000000 --- a/xen/include/asm-powerpc/smpboot.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * Copyright (C) IBM Corp. 2005 - * - * Authors: Jimi Xenidis - */ - -#include "../asm-x86/smpboot.h" diff --git a/xen/include/asm-x86/smpboot.h b/xen/include/asm-x86/smpboot.h deleted file mode 100644 index 6def59963b..0000000000 --- a/xen/include/asm-x86/smpboot.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __ASM_SMPBOOT_H -#define __ASM_SMPBOOT_H - -static inline unsigned long apicid_to_phys_cpu_present(int apicid) -{ - return 1UL << apicid; -} - -extern volatile int logical_apicid_2_cpu[]; -extern volatile int cpu_2_logical_apicid[]; -extern volatile int physical_apicid_2_cpu[]; -extern volatile int cpu_2_physical_apicid[]; - -#define boot_apicid_to_cpu(apicid) physical_apicid_2_cpu[apicid] - -#endif -- 2.30.2